package com.wanghai.carwashing.common.model.vo;

import java.io.Serializable;

/**
 * 短信验证码信息实体
 */
public class SmsValidateCode implements  Serializable{
    /**
     * 短信ID
     */
    private String id;
    /**
     * 短信验证码
     */
    private String code;
    /**
     * 手机号码
     */
    private String phone;
    /**
     * 短信内容
     */
    private String content;
    /**
     * 有效期开始时间戳
     */
    private long startTimestamp;
    /**
     * 有效期结束时间戳
     */
    private long endTimestamp;
    /**
     * 创建时间
     */
    private String createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getStartTimestamp() {
        return startTimestamp;
    }

    public void setStartTimestamp(long startTimestamp) {
        this.startTimestamp = startTimestamp;
    }

    public long getEndTimestamp() {
        return endTimestamp;
    }

    public void setEndTimestamp(long endTimestamp) {
        this.endTimestamp = endTimestamp;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "SmsValidateCode{" + "id=" + id + ", code=" + code + ", phone=" + phone + ", content=" + content + ", startTimestamp=" + startTimestamp + ", endTimestamp=" + endTimestamp + ", createTime=" + createTime + '}';
    }
    
}
